package com.lanou.test.mapper;

import com.lanou.test.bean.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;


@Repository
public interface UserMapper {

    @Select("select * from tb_user where username=#{username}")
    User selectUserByName(@Param("username") String username);
}
